package com.atguigu.impl;

import org.springframework.stereotype.Component;

/**
 * @author 伟哥
 * @date 2021-05-01 9:34

 */
@Component
public class NoInterface /*implements Calculator */{
    public int add(int i, int j) {
        int result = i + j ;
        return result;
    }

    public int sub(int i, int j) {
        int result = i - j ;
        return result;
    }

    public int mul(int i, int j) {
        int result = i * j ;
        return result;
    }

    public int div(int i, int j) {
        int result = i / j ;
        return result;
    }
}
